<html>
<head><meta charset="utf-8"><title>Arrays in SIMD · project-portable-simd · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/index.html">project-portable-simd</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/Arrays.20in.20SIMD.html">Arrays in SIMD</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="217072477"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/Arrays%20in%20SIMD/near/217072477" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/Arrays.20in.20SIMD.html#217072477">(Nov 17 2020 at 22:31)</a>:</h4>
<p><span class="user-mention" data-user-id="312331">@Caleb Zulawski</span> fyi <a href="https://github.com/rust-lang/rust/issues/78863">#78863</a> failed to land, so don't hold up on its account.<br>
Righto let's take a look at this.</p>



<a name="217073160"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/Arrays%20in%20SIMD/near/217073160" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/Arrays.20in.20SIMD.html#217073160">(Nov 17 2020 at 22:38)</a>:</h4>
<p>Ah that's unfortunate.</p>



<a name="217073613"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/Arrays%20in%20SIMD/near/217073613" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/Arrays.20in.20SIMD.html#217073613">(Nov 17 2020 at 22:43)</a>:</h4>
<p>it looks like a simple test failure so it might be a quick fix, or not. could be 1 day could be 1 week. y'knowhowitgoes</p>



<a name="217099266"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/Arrays%20in%20SIMD/near/217099266" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/Arrays.20in.20SIMD.html#217099266">(Nov 18 2020 at 05:59)</a>:</h4>
<p>I normally have time on Friday's to work through stuff that needs me to build the compiler :) Hopefully we can get this sorted reasonably quickly! <span aria-label="fingers crossed" class="emoji emoji-1f91e" role="img" title="fingers crossed">:fingers_crossed:</span></p>



<a name="217703322"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/Arrays%20in%20SIMD/near/217703322" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/Arrays.20in.20SIMD.html#217703322">(Nov 24 2020 at 00:55)</a>:</h4>
<p>on one of the tests it's %2 and %5 instead of %3 and %6, have not looked at all of them.</p>



<a name="218236778"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/Arrays%20in%20SIMD/near/218236778" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/Arrays.20in.20SIMD.html#218236778">(Nov 29 2020 at 23:46)</a>:</h4>
<p>Looks like <a href="https://github.com/rust-lang/rust/pull/78863">https://github.com/rust-lang/rust/pull/78863</a> made its way in! <span aria-label="tada" class="emoji emoji-1f389" role="img" title="tada">:tada:</span></p>



<a name="218237109"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/Arrays%20in%20SIMD/near/218237109" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/Arrays.20in.20SIMD.html#218237109">(Nov 29 2020 at 23:54)</a>:</h4>
<p>Awesome! Great fix to a major SIMD wart <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span></p>



<a name="218344778"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/Arrays%20in%20SIMD/near/218344778" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/Arrays.20in.20SIMD.html#218344778">(Nov 30 2020 at 20:56)</a>:</h4>
<p>wonderful!</p>



<a name="218684001"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/Arrays%20in%20SIMD/near/218684001" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/Arrays.20in.20SIMD.html#218684001">(Dec 03 2020 at 12:01)</a>:</h4>
<p><a href="https://github.com/bjorn3/rustc_codegen_cranelift/commit/d95d03ae8ad10f253dce81a62a9ac372835b9bb4">https://github.com/bjorn3/rustc_codegen_cranelift/commit/d95d03ae8ad10f253dce81a62a9ac372835b9bb4</a> should implement this for cg_clif.</p>



<a name="218911475"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/Arrays%20in%20SIMD/near/218911475" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/Arrays.20in.20SIMD.html#218911475">(Dec 05 2020 at 01:40)</a>:</h4>
<p>Some good news with this, I've mostly updated the API to use const generics with newtyped arrays and it seems to be working great.  Pretty much everything about both the API and the implementation is cleaner</p>



<a name="218911539"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/Arrays%20in%20SIMD/near/218911539" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/Arrays.20in.20SIMD.html#218911539">(Dec 05 2020 at 01:42)</a>:</h4>
<p>I probably need to stop for now until the masks branch is merged in, but it's promising</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>